package day02;
//long类型的演示
public class LongDemo {
    public static void main(String[] args) {

    long a = 25L;//25为长整型直接量
    //long b = 10000000000;
    long c = 10000000000L;
    //long d = 3.14; 编译错误，长整型变量中只能装长整型

    long e = 1000000000*2*10L;//200亿
        System.out.println(e);
    long f = 1000000000*3*10L;//前面溢出 所以不是300亿
        System.out.println(f);
    long g = 1000000000L*3*10;//300亿
        System.out.println(g);
        //int 4
        //long 8
        //double 8




    }
}
